#include "PersonLinkedList.h"

int main()
{
	cout<<"Creating the Linked List..."<<endl<<endl;

	PersonLinkedList list; //Create the linked list

	cout<<"Inserting People to the List now..."<<endl<<endl;

	list.insert("Gavin K.", 20);
	list.insert("Howell S.", 25);
	list.insert("Linda P.", 17);
	list.insert("Eoin 2.0", 28);
	list.insert("Space Jam", 43);

	cout<<"Printing the list now..."<<endl<<endl;

	list.display();

	cout<<"Deleting the most recent person added..."<<endl<<endl;

	list.deleteMostRecent();

	cout<<"Printing the list now..."<<endl<<endl;

	list.display();

	system("pause");

	return 0;
}